package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 订单表的其他模块
 * @author YXQ
 * @date 2021/10/25 16:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单副表的其他模块")
public class OrderOther implements Serializable {
    @ApiModelProperty(name = "id",value = "id",example = "编号(id)",dataType = "Long")
    private Long id;
    @ApiModelProperty(name = "oid",value = "oid",example = "与订单的编号关联",dataType = "Long")
    private Long oid;
    @ApiModelProperty(name = "isFiveRing",value = "isFiveRing",example = "是否在5环内",dataType = "Boolean")
    private Boolean isFiveRing;
    @ApiModelProperty(name = "insured",value = "insured",example = "被保险人",dataType = "String")
    private String insured;
    @ApiModelProperty(name = "relationName",value = "relationName",example = "联系人",dataType = "String")
    private String relationName;
    @ApiModelProperty(name = "tel",value = "tel",example = "联系电话",dataType = "String")
    private String tel;
    @ApiModelProperty(name = "location",value = "location",example = "定损地点",dataType = "String")
    private String location;
    @ApiModelProperty(name = "registrant",value = "registrant",example = "登记人",dataType = "String")
    private String registrant;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "completionTime",value = "completionTime",example = "预计维修完成时间",dataType = "Timestamp")
    private Timestamp completionTime;
    @ApiModelProperty(name = "whetherRar",value = "whetherRar",example = "是否需要赔付款",dataType = "Boolean")
    private Boolean whetherRar;
    @ApiModelProperty(name = "specificMatters",value = "specificMatters",example = "待定事项",dataType = "String")
    private String specificMatters;
    @ApiModelProperty(name = "putCarPlace",value = "putCarPlace",example = "还车地点",dataType = "String")
    private String putCarPlace;
    @ApiModelProperty(name = "pickUpImg",value = "pickUpImg",example = "接车地图",dataType = "String")
    private String pickUpImg;
    @ApiModelProperty(name = "putCarImg",value = "putCarImg",example = "还车地图",dataType = "String")
    private String putCarImg;
    @ApiModelProperty(name = "repairParts",value = "repairParts",example = "修理部位",dataType = "String")
    private String repairParts;
}
